@extends('layouts.app')

@section('content')
    <div class="container">
        <div class="row">
            <div class="col-md-10 col-md-offset-1">
                <div class="panel panel-default">
                    <div class="panel-heading">门市接待结果</div>
                    @if (count($errors) > 0)
                        <div class="alert alert-danger">
                            <ul>
                                @foreach ($errors->all() as $error)
                                    <li>{{ $error }}</li>
                                @endforeach
                            </ul>
                        </div>
                    @endif
                    <div class="panel-body">
                        <form class="form-horizontal" method="post" action="{{url('resource/remark/reception')}}/{{$id}}">
                            {!! csrf_field() !!}
                            <input type="hidden" name="users_id" value="{{Auth::id()}}">
                            <input type="hidden" name="resources_id" value="{{$id}}">
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">接待结果</label>
                                <div class="col-sm-10">
                                    <select name="yy_process_id" class="form-control" id="process" curl="{{url('resource/remark/createMenu')}}">
                                        <option value="0">请选择</option>
                                        @foreach($process as $yp)

                                                <option value="{{$yp['id']}}">{{$yp['name']}}</option>

                                        @endforeach
                                    </select>
                                </div>
                            </div>

                            <div class="form-group">
                                <label for="inputPassword3" class="col-sm-2 control-label">描述</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" id="inputPassword3" placeholder="phone" name="des">
                                </div>
                            </div>

                            {{--<div class="form-group">--}}
                                {{--<label for="inputPassword3" class="col-sm-2 control-label">成交金额</label>--}}
                                {{--<div class="col-sm-10">--}}
                                    {{--<input type="text" class="form-control" id="inputPassword3" placeholder="请输入数字" name="deal_price">--}}
                                {{--</div>--}}
                            {{--</div>--}}

                            {{--<div class="form-group">--}}
                                {{--<label for="inputPassword3" class="col-sm-2 control-label">订单号码</label>--}}
                                {{--<div class="col-sm-10">--}}
                                    {{--<input type="text" class="form-control" id="inputPassword3" placeholder="yyyy-mm-dd" name="order_code">--}}
                                {{--</div>--}}
                            {{--</div>--}}

                            {{--<div class="form-group">--}}
                                {{--<label for="inputPassword3" class="col-sm-2 control-label">再约时间</label>--}}
                                {{--<div class="col-sm-10">--}}
                                    {{--<input type="text" class="form-control" id="inputPassword3" placeholder="yyyy-mm-dd" name="yy_time_again">--}}
                                {{--</div>--}}
                            {{--</div>--}}

                            {{--<div class="form-group">--}}
                                {{--<label for="inputPassword3" class="col-sm-2 control-label">消费意向</label>--}}
                                {{--<div class="col-sm-10">--}}
                                    {{--<input type="text" class="form-control" id="inputPassword3" placeholder="yyyy-mm-dd" name="yixiang">--}}
                                {{--</div>--}}
                            {{--</div>--}}

                            <div class="form-group">
                                <div class="col-sm-offset-2 col-sm-10">
                                    <button type="submit" class="btn btn-default">提交</button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
@endsection